package be.ikdoeict.ga;

import be.ikdoeict.ga.operators.*;
import be.ikdoeict.ga.problem.*;

public class ConfigurationSingleton {
	private static ConfigurationSingleton configuration = null;
	
	private Mutation mutation;
	private Crossover crossover;
	private Evaluation evaluation;
	
	public Mutation getMutation() {
		return mutation;
	}
	
	public void setMutation(Mutation mutation) {
		this.mutation = mutation;
	}
	
	private ConfigurationSingleton() {
		mutation = null;
	}
	
	public static ConfigurationSingleton createConfiguration() {
		if (configuration == null) {
			configuration = new ConfigurationSingleton();
		}
		
		return configuration;
	}
}
